﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Temas/MasterPage.Master" AutoEventWireup="true" CodeBehind="Crear.aspx.cs" Inherits="Talento21.Pages.Niveles.Crear" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<fieldset>

    <legend>Nuevo Nivel</legend>

    <asp:FormView ID="FormView1" runat="server" DataSourceID="ObjectDataSource1" DefaultMode="Insert">
        <EditItemTemplate>
            
        </EditItemTemplate>
        <InsertItemTemplate>

        
             <div class="control-group">
                    <label class="control-label">Nombre:</label>
                    <div class="controls">
                        <asp:TextBox ID="NombreTextBox" runat="server" Text='<%# Bind("Nombre") %>' />
                    </div>
            </div>
        
            <div class="control-group">
                    <label class="control-label">Descripcion:</label>
                    <div class="controls">
                        <asp:TextBox ID="DescripcionTextBox" runat="server" 
                                Text='<%# Bind("Descripcion") %>' />
                    </div>
            </div>
        
            <div class="control-group">
                    <label class="control-label">Competencia:</label>
                    <div class="controls">
                        <asp:TextBox ID="Id_CompetenciaTextBox" runat="server" 
                Text='<%# Bind("Id_Competencia") %>' />
                </div>
            </div>
        
            <div class="form-actions">
                <asp:LinkButton ID="InserButton" CssClass="btn btn-primary" runat="server" CausesValidation="True" 
                CommandName="Insert" Text="Insert" />
            </div>

    </fieldset>
        
        </InsertItemTemplate>
        <ItemTemplate>
        
        </ItemTemplate>
    </asp:FormView>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
        DataObjectTypeName="Talento21.Modelo.InfNivelCompetenciaEmp" 
        InsertMethod="Crear" onselecting="ObjectDataSource1_Selecting" 
        SelectMethod="ObtenerNiveles" TypeName="Talento21.Negocio.Servicio.SrvNivelEmp">
    </asp:ObjectDataSource>
</asp:Content>
